{% extends "base.html" %}

{% block page_title %} 登录 {% endblock %}
{% block page_css %} <link href="{{ url_for('static',filename='css/login.css') }}" rel="stylesheet"> {% endblock %}
{% block navbar %}{% endblock %}
{% block page_flash %}
{% for category,message in get_flashed_messages(with_categories=True) %}
    <script>
    alert("{{ message }}");
    </script>
{% endfor %}
{% endblock %}


{% block page_content %}
<div class="row">
    <div class="col-md-8 col-md-offset-2 col-sm-12 login_form"> 
        <form action="" method="post" class="form" role="form"> 
            <fieldset>
            <lable style=" margin-left: 30%;font-size: 20px;">任务提交平台</lable>
            {{ form.csrf_token }}
            <div class="form-group  required">
            <input class="form-control" id="xh" name="xh" required type="text" placeholder="学号" value="">       
            </div>
            <div class="form-group  required">
                <input class="form-control" id="password" name="password" required type="password" placeholder="密码" value="">
            </div>
            <input class="btn btn-info btn-block" id="submit" name="submit" type="submit" value="登录">
            </fieldset>
        </form>
        
    </div>
</div>
{% endblock %}
